package com.woniu.zsd.permission.service;

import com.woniu.zsd.permission.entity.Resource;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface IResourceService extends IService<Resource> {

    List<Resource> selResource();

    int addResource(String name, String resourceDesc);

    int updateResource(Integer resourceId,String name, String resourceDesc);

    int deleteResource(Integer resourceId);
}
